package com.lmn.mybatisplus;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @describe: 系统启动类
 * @author:houkai
 * @Date: 2018/4/4 13:41
 */
@MapperScan("com.lmn.mybatisplus.dao.mapper")
@SpringBootApplication
@EnableTransactionManagement
public class SpringbootApplication {

    private static final Logger LOG = LoggerFactory.getLogger(SpringbootApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
        LOG.info("==========启动成功==============");
    }
}
